SELECT	tbStakeholderSet.FirstName Vorname,
		tbStakeholderSet.LastName Nachname,
		tbStakeholderSet.BirthDate Geburtstag,
		tlCustomPropertySet.PropertyName Eigenschaft,
		ISNULL(
			CASE tlCustomPropertySet.IsChooseable
				WHEN 0 THEN trStakeholderCustomPropertySet.CustomPropertyValue
				WHEN 1 THEN tlCustomPropertyChoicesSet.Name
			END
		, '') Wert
FROM	tbStakeholderSet
	CROSS JOIN	tlCustomPropertySet
	LEFT JOIN	trStakeholderCustomPropertySet	ON	trStakeholderCustomPropertySet.trSteakholderCustomProperty_tlCustomProperty = tlCustomPropertySet.Id
												AND	trStakeholderCustomPropertySet.tlSteakholder_trSteakholderCustomProperty = tbStakeholderSet.Id
	LEFT JOIN	tlCustomPropertyChoicesSet	ON	tlCustomPropertyChoicesSet.Id = trStakeholderCustomPropertySet.trSteakholderCustomProperty_tlCustomPropertyChoices
ORDER BY	tbStakeholderSet.LastName,
			tbStakeholderSet.FirstName,
			tlCustomPropertySet.ID